<?php

/**
 * @Author: Wang chunsheng  email:2192138785@qq.com
 * @Date:   2021-03-21 20:46:34
 * @Last Modified by:   Wang chunsheng  email:2192138785@qq.com
 * @Last Modified time: 2021-09-01 09:38:16
 */

namespace swooleService\controllers;


use diandi\addons\models\Bloc;
use swooleService\tasks\DemoTask;
use Yii;
use yii\db\Exception;
use yii\web\Controller;

class AddonsController extends AController
{
    public $modelClass = '';

    // 模块接口路由
    public function actionIndex()
    {
        global $_GPC;

        return [
            'addons' => 6,
            'gpc' => $_GPC
        ];
    }
}
